%container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.75);
    @extend %transition;
}

.container-hide {
    @extend %container;
    visibility: hidden;
    opacity: 0;
}

.container-show {
    @extend %container;
    visibility: visible;
    opacity: 1;
}

.content {
    display: flex;
    flex-direction: column;
    width: 1200px;
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
}

.title-bar {
    margin: 0;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.title {
    line-height: 1.5;
}

.close {
    width: 20px;
    height: 20px;
    background: center/cover no-repeat;
    cursor: pointer;
}

.content-wrap {
    flex: 1;
}
